//
//  EmotionScroll.h
//  ChatTool
//
//  Created by zhuxuehang on 13-10-8.
//  Copyright (c) 2013年 zhuxuehang. All rights reserved.
//

#import <UIKit/UIKit.h>

#define SendTagOfEmotionIcon @"SendTagOfEmotionIcon"
#define DeleteTagOfEmotionIcon @"DeleteTagOfEmotionIcon"

@class EmotionScroll;


@protocol EmotionScrollDelegate <NSObject>
@optional
-(void)emotionButtonDidSelected:(EmotionScroll *)emotionScroll withIndex:(NSInteger)index nameStr:(NSString*)iconName;
-(void)emotionButtonSelectedWith:(NSString*)iconName;
-(void)emotionButtonDelete;
@end


@interface EmotionScroll : UIScrollView
{
    __weak id<EmotionScrollDelegate> _emoDelegate;
}
@property (nonatomic,weak) id<EmotionScrollDelegate> emoDelegate;
+(EmotionScroll*)defaultEmoScroll;
+(EmotionScroll*)defaultEmoScrollWithDelegate:(id)sender;
@property (nonatomic, strong) NSArray *emotionArray;
@end
